package trie;

public class TrieFactory implements ITrieFactory {
	

	@Override
	public Trie creatTrie() {
		
		return new Trie();
	}

}

//public Vehicle createVehicle(int i){
//	switch(i){
//	case CAR:
//		return new Car();
//	case MOTORCYCLE:
//		return new Motorcycle();
//	default:
//		throw new IllegalArgumentException(
//			"Wrong vehicle number!");
//	}
//}